import request from '@/utils/request'


export function vidGetById(id) {
  return request({
    url: '/video/getById/'+id,
    method: 'get',
  })
}

export function vidSaveOrUpdate(data) {
  return request({
    url: '/video/saveOrUpdate',
    method: 'post',
    data
  })
}

export function vidDelete(id) {
  return request({
    url: '/video/delete/'+id,
    method: 'get',
  })
}
